package cn.com.server.entity;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 系统信息表
 * </p>
 *
 * @author qing
 * @since 2017-11-15
 */
@SuppressWarnings("serial")
public class Info implements Serializable {


   /**
     * 主键
     */
	private Long id;
   /**
     * 名称
     */
	private String name;
   /**
     * 类型,0系统信息(cpu，内存，网络，磁盘)
     */
	private Integer type;
   /**
     * 系统信息{cpu:{total:2.0,used:1.3,available:0.6,usedPercent:60.00}}
     */
	private String sysInfos;
   /**
     * 创建时间
     */
	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	public String getSysInfos() {
		return sysInfos;
	}

	public void setSysInfos(String sysInfos) {
		this.sysInfos = sysInfos;
	}
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale="zh",timezone = "GMT+8")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}